#!/bin/bash
cd ../RootMacro
root -l -b -q RawRootData2Root.cpp
cd ../build
cmake ..
make -j
# ./Raw2Root_ToF #最原始的dat文件转root
./RawRoot2Sort_ToF
./Sort2Coin_ToF
./Coin2Ana_ToF
# cd ../RootMacro
# ./RawRoot2Sort_TPC
# ./Sort2Coin_TPC
#./Merge_Coin_ToF_TPC